package com.zb.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;
import lombok.experimental.Accessors;

import java.math.BigDecimal;

/**
 * 银行对接-提现单Redis缓存实体
 * */
@Data
@NoArgsConstructor
@AllArgsConstructor
@ToString
@Accessors(chain = true)
@ApiModel("银行对接-提现单Redis缓存实体")
public class ZjWithdrawBankExchangeRedisEntity {
    //用户ID
    @ApiModelProperty("用户ID")
    private Long userId;
    //提现单ID
    @ApiModelProperty("提现单ID")
    private Long withdrawId;
    //银行对接所需字段--账号(必填)
    @ApiModelProperty("账号")
    private String account;
    //银行对接所需字段--户名(必填)
    @ApiModelProperty("户名")
    private String accountName;
    //银行对接所需字段--金额(必填)
    @ApiModelProperty("金额")
    private BigDecimal withdrawMoney;
    //银行对接所需字段--行名(跨行业务在行名和联行行号二选一)
    @ApiModelProperty("行名")
    private String bankName;
    //银行对接字段-开户银行网点名称
    @ApiModelProperty("开户银行网点")
    private String openAccountBankNetwork;
    //银行对接字段-开户银行联行行号
    @ApiModelProperty("联行行号（跨行业务与行名不能同时为空）")
    private String bankCode;
}
